package chapter13.ss;

import java.util.HashMap;
import java.util.Map;

public class YRYR {
    public static void main(String[] args) {
        Map<String,String>students=new HashMap<>();
        students.put("20210345","明明");
        students.put("2021046","嘉嘉");
        students.put("2021048","歪歪");

        students.forEach((id,name)-> System.out.println(id+":"+name));
        System.out.println(students.get("2021048"));
        System.out.println(students.get("20210345"));
    }
}
